package com.starlink.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Auther: zhouyuhang01
 * @Date: 2024/6/9 11:25
 * @Description: MallBookExcelDO
 * @Version 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MallBookExcelDTO implements Serializable {
    @JsonProperty("0")
    @ExcelProperty(value = "ID",index = 0)
    private String mallBooksId;
    /**运费模板名称*/
    @ExcelProperty(value = "运费模板名称",index = 1)
    private String freeTemplateName;
    /**书籍名称*/
    @ExcelProperty(value = "书名",index = 2)
    private String bookName;
    /**作者*/
    @ExcelProperty(value = "作者",index = 3)
    private String author;
    /**ISBN编码*/
    @ExcelProperty(value = "ISBN编码",index = 4)
    private String isbn;
    /**出版社*/
    @ExcelProperty(value = "出版社",index = 5)
    private String publishingHouse;
    /**书籍封面图片*/
    @ExcelProperty(value = "书籍封面图片",index = 6)
    private byte[] picture;
    private String pictureUrl;
}
